package cn.itsource.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "tx.cos.config")
@Data
public class CosProperties {
    //id
    private String secretId;
    //密钥
    private String secretKey;
    //地区
    private String regionName;
    //桶名
    private String bucketName;
    //文件夹
    private String key;
    //返回地址
    private String url;
}
